package com.example.webservice_s;


import org.springframework.context.annotation.Configuration;
import org.springframework.ws.WebServiceException;

import javax.jws.WebService;
import java.net.MalformedURLException;
import java.rmi.RemoteException;


/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ZhangLiang
 * @Date: 2021/07/10/14:22
 * @Description:
 */
@Configuration
@WebService(
        serviceName = "InvoiceWebService",
        // 取值包名反缀
        targetNamespace = "http://example.com/webservice_s",
        endpointInterface = "com.example.webservice_s.InvoiceWebService")
public class InvoiceWebServiceImpl implements InvoiceWebService {

    @Override
    public String PagerOutputInvoice(String invData) throws WebServiceException, MalformedURLException, RemoteException {
        System.out.println("传入参数=============》"+invData);
        return invData;
    }


}
